package com.lj.back.manage.scaffold.module.sys.VO;

import com.lj.back.manage.scaffold.common.annotation.convert.EnumConvert;
import com.lj.back.manage.scaffold.common.enums.UserStatusEnum;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Set;

/**
 * @author lv
 * @version 1.0.0
 */
@Data
public class SysUserVO implements Serializable {

    /**
     * 用户ID
     */
    private String id;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 状态：{@link com.lj.back.manage.scaffold.common.enums.UserStatusEnum}
     */
    @EnumConvert(UserStatusEnum.class)
    private String status;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 角色ID列表
     */
    private Set<Long> roleIds;

    private static final long serialVersionUID = 1L;
}
